public class RestaurantFacade {
    private OrderSystem orderSystem;
    private SettleAccountsSystem settleAccountsSystem;

    public RestaurantFacade(){
        orderSystem = new OrderSystem();
        settleAccountsSystem = new SettleAccountsSystem();
    }

    public void Restaurant() {
        orderSystem.order();
        System.out.println("开吃");
        System.out.println("吃饭ing");
        System.out.println("吃完饭");
        settleAccountsSystem.settleAccounts();
    }
}

class OrderSystem{
    public void order(){
        System.out.println("点菜...");
    }
}

class SettleAccountsSystem{
    public void settleAccounts(){
        System.out.println("结账...");
    }
}

class Main{
    public static void main(String[] args){
        RestaurantFacade restaurant = new RestaurantFacade();
        restaurant.Restaurant();
    }
}